<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改课程学分</title>
</head>
<body>
<form action="/update/" method="post">
    <h2>修改课程学分</h2>
    <p> 课程名:    <input type="text"  name="a_title" >
        学分：<input type="number"  step="0.1"name="a_credit">
    <input type="submit" name="添加"></p>

</form>
<h3>现有数据</h3>
{% for i in user_list %}
{{ i.title}}
{{ i.credit}}<br>
{%endfor%}
</body>
</html>